﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="formulaDetails.aspx.cs" Inherits="formulaDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">

    <p>
        FormulaName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtFormulaName" runat="server" Width="85px"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Description:&nbsp;&nbsp;<asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine"></asp:TextBox>
    </p>
    <p>
        &nbsp;Nutrient &nbsp;<asp:DropDownList 
            ID="ddlNutrientName" runat="server" 
            onselectedindexchanged="ddlNutrientName_SelectedIndexChanged" 
            ontextchanged="ddlNutrientName_TextChanged">
        </asp:DropDownList>
&nbsp;<asp:Label ID="lbNutrientUnit" runat="server"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Min:&nbsp; &nbsp;<asp:TextBox 
            ID="txtMinValue" runat="server" Width="41px"></asp:TextBox>
        &nbsp;&nbsp; Max:
        <asp:TextBox ID="txtMaxValue" runat="server" Width="43px"></asp:TextBox>
&nbsp;
        <asp:Button ID="btnAdd" runat="server" onclick="btnAdd_Click" Text="Add" />
        <br />
    </p>
    <p>
        <asp:GridView ID="gvFormulaNutrient" runat="server" 
            AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" 
            AutoGenerateSelectButton="True">
        </asp:GridView>
    </p>

</asp:Content>

